-
Home
-
hCaptcha for WordPress
-
2.2.0
-
Code
-
Classes
- HCaptchaHandler
Total Complexity |
27 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
362 |
Lines of code |
180 |
Logical lines of code |
61 |
Comment lines |
125 |
Methods |
21 |
Properties |
1 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validation() |
S |
57 |
4 |
16 |
init() |
S |
54 |
2 |
23 |
register_scripts() |
S |
54 |
1 |
25 |
modify_controls() |
S |
56 |
1 |
20 |
localize_settings() |
S |
60 |
1 |
16 |
filter_field_item() |
S |
70 |
2 |
6 |
is_enabled() |
S |
79 |
2 |
3 |
add_render_attributes() |
S |
63 |
1 |
12 |
get_hcaptcha_theme() |
S |
79 |
1 |
3 |
get_hcaptcha_size() |
S |
79 |
1 |
3 |
get_setup_message() |
S |
79 |
1 |
3 |
after_enqueue_scripts() |
S |
64 |
1 |
10 |
get_secret_key() |
S |
79 |
1 |
3 |
get_script_handle() |
S |
79 |
1 |
3 |
get_site_key() |
S |
79 |
1 |
3 |
enqueue_scripts() |
S |
72 |
1 |
6 |
get_hcaptcha_name() |
S |
80 |
1 |
3 |
render_field() |
S |
64 |
1 |
10 |
add_field_type() |
S |
75 |
1 |
4 |
register_action() |
S |
80 |
1 |
3 |
__construct() |
S |
72 |
1 |
5 |